﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DHQGHN.PM0.Models.Admin
{
    public class ExtractReportModel
    {
        public int AreaRecordCount { get; set; }
        public int HouseHoldRecordCount { get; set; }
        public int ResidentRecodeCount { get; set; }

        public ExtractReportModel()
        {
            AreaRecordCount = 0;
            HouseHoldRecordCount = 0;
            ResidentRecodeCount = 0;
        }

        public ExtractReportModel(DAL.Models.Admin.ExtractReport data)
        {
            ConvertFrom(data);
        }

        public void ConvertFrom(DAL.Models.Admin.ExtractReport data)
        {
            this.AreaRecordCount = data.AreaRecordCount;
            this.HouseHoldRecordCount = data.HouseHoldRecordCount;
            this.ResidentRecodeCount = data.ResidentRecodeCount;
        }
    }

}